﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cool.Application.System.MenuService.Dtos
{
    public class MenuOutDto
    {
        public string component { get; set; }
        public string path { get; set; }
        public string name { get; set; }
        public string redirect { get; set; }
        public MenuMeta meta { get; set; }
        public List<MenuOutDto> children { get; set; }
    }

    public class MenuMeta
    {
        public string icon { get; set; }
        public string title { get; set; }
        public bool noCache { get; set; }
        public bool affix { get; set; }
        public List<string> permissions { get; set; }
    }
}
